package cn.antho.shop.feign;

import cn.antho.shop.domain.ShopBuy;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-buy")
public interface BuyService {

    @PostMapping("/shopBuy/save")
    void add(@RequestBody ShopBuy shopBuy);

}
